package kr.hkit.powerjava.chapter13.Lab;

import java.awt.HeadlessException;

import javax.swing.JFrame;
import javax.swing.JPanel;

public class MyWorkFrame extends JFrame {

	public MyWorkFrame() throws HeadlessException {
		setSize(600,150);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setTitle("MyFrame");
		
		JPanel myworkf = new JPanel();
		
		BtnPanel b1 = 	new BtnPanel();
		HeaderPanel h1 = new HeaderPanel();
		
		myworkf.add(b1);
		myworkf.add(h1);
		
		setVisible(true);
	}
	
}
